<table id="example" class="table table-striped table-bordered" style="width:100%">
    <thead>
    <tr>
        {foreach :json_decode($item[0],true) as $key1=>$value1}
        <th>{$key1}</th>
        {/foreach}
    </tr>
    </thead>
    {foreach $item as $key=>$value}
    <tbody>
    <tr>
        {foreach :json_decode($value,true) as $key2=>$value2}
            <td>{$value2}</td>
        {/foreach}
    </tr>
    </tbody>
    {/foreach}
</table>
